package com.ytclub.auth.domain.convent;

import com.ytclub.auth.domain.entity.AuthPermissionBO;
import com.ytclub.auth.domain.entity.AuthRoleBO;
import com.ytclub.auth.infra.basic.entity.AuthPermission;
import com.ytclub.auth.infra.basic.entity.AuthRole;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;



/**
 * 权限BO转换拦截器
 *
 * @author: HuangQi
 * @date: Created in 21:23 2023/12/14
 * @description: 权限BO转换器
 */
@Mapper
public interface AuthPermissionBOConverter {
    AuthPermissionBOConverter INSTANCE = Mappers.getMapper(AuthPermissionBOConverter.class);

    AuthPermission convertBoToEntity(AuthPermissionBO authPermissionBO);


}
